package com.ruoyi.paint.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 汽车信息对象 tq_cars
 * 
 * @author itchen
 * @date 2024-07-01
 */
public class TqCars extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 汽车ID */
    private Long id;

    /** 汽车品牌 */
    @Excel(name = "汽车品牌")
    private String brand;

    /** 车型 */
    @Excel(name = "车型")
    private String model;

    /** 颜色名称 */
    @Excel(name = "颜色名称")
    private String colorName;

    /** 年款 */
    @Excel(name = "年款")
    private Long year;

    /** 油漆品牌 */
    @Excel(name = "油漆品牌")
    private String paintBrand;

    /** 图层类型 */
    @Excel(name = "图层类型")
    private String layerType;

    /** 汽车图片链接 */
    @Excel(name = "汽车图片链接")
    private String imageUrl;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setColorName(String colorName) 
    {
        this.colorName = colorName;
    }

    public String getColorName() 
    {
        return colorName;
    }
    public void setYear(Long year) 
    {
        this.year = year;
    }

    public Long getYear() 
    {
        return year;
    }
    public void setPaintBrand(String paintBrand) 
    {
        this.paintBrand = paintBrand;
    }

    public String getPaintBrand() 
    {
        return paintBrand;
    }
    public void setLayerType(String layerType) 
    {
        this.layerType = layerType;
    }

    public String getLayerType() 
    {
        return layerType;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brand", getBrand())
            .append("model", getModel())
            .append("colorName", getColorName())
            .append("year", getYear())
            .append("paintBrand", getPaintBrand())
            .append("layerType", getLayerType())
            .append("imageUrl", getImageUrl())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
